
import request from '@/utils/request';
import { ResultShop } from './definitions/ResultShop';
import { Result } from './definitions/Result';
import { Shop } from './definitions/Shop';


export class ShopInfoShopApiController {

    static getUsingGETPath: string = "/v1/shop/shop";

    async getUsingGET( headers?: any) : Promise<ResultShop> {
      return request(`/v1/shop/shop`, {
        method: "GET",
        headers: headers,
      }) as Promise<any>;
    }
    
    static updateUsingPUTPath: string = "/v1/shop/shop";
    /// update
    async updateUsingPUT(data: Shop, headers?: any):  Promise<any> {
      return request(`/v1/shop/shop`, {
        method: "PUT",
        data: JSON.stringify(data) ,
        headers: headers,
      }) as Promise<any>;
    }
    
}